package org.lx.nursing.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.lx.nursing.domain.CheckIn;
import org.lx.nursing.dto.CheckInApplyDto;
import org.lx.nursing.vo.CheckInDetailVo;

import java.util.List;

/**
 * 入住Service接口
 *
 * @author lx
 * @date 2025-02-28
 */
public interface ICheckInService extends IService<CheckIn> {
    CheckIn selectCheckInById(Long id);

    List<CheckIn> selectCheckInList(CheckIn checkIn);

    int insertCheckIn(CheckIn checkIn);

    int updateCheckIn(CheckIn checkIn);

    int deleteCheckInByIds(Long[] ids);

    int deleteCheckInById(Long id);

    void apply(CheckInApplyDto dto);

    CheckInDetailVo detail(Long id);
}
